﻿using System;

namespace FileSC.Configs.StatusBar
{
    public static class StatusBar
    {
        private static IStatusBarIcon bar;
        public static void LinkBar(IStatusBarIcon bar)
        {
            StatusBar.bar = bar;
        }
        public static void SetIcon(IconType iconType)
        {
            if (bar != null)
            {
                bar.SetIcon(iconType);
            }
        }
    }
}
